#ifndef ACHIEVE_H
#define ACHIEVE_H

#include <QWidget>
#include <QLabel>

namespace Ui {
class Achieve;
}

class Achieve : public QWidget
{
    Q_OBJECT

public:
    explicit Achieve(QWidget *parent = nullptr);
    ~Achieve();
    int getfruit();
    void displayfruit(QLabel*label)const;
    void gainfruit(int focusadd,bool fruitadd);

private slots:
    void on_pushButton_4_clicked();

private:
    Ui::Achieve *ui;
    QString ID;
    int fruit;
    int focus;
    QString Achievement;
};


#endif // ACHIEVE_H
